package com.equipment.fkdcn.mapper;

import com.equipment.fkdcn.pojo.EType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ETypeMapper {

    //添加类型
    boolean addType(String name);

    //修改
    boolean upType(EType eType);

    //删除
    boolean delType(@Param("id") int id);

    //查询

    List<EType> AllQueryEType();


    List<EType> likeQuery(@Param("name")String name);



}
